package com.syt.cmn.easyexcel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: xxx
 * @Date: 2023/2/5 19:47
 * @Description: 用户
 */
@Data
public class UserData implements Serializable {
    
    @ColumnWidth(50)
    @ExcelProperty(value = "用户编号",index = 0)
    private int uid;
    
    @ColumnWidth(50)
    @ExcelProperty(value = "用户名称",index = 1)
    private String username;
}
